package it.aupapp.model;

public class Color {
	public final int R;
	public final int G;
	public final int B;
	public final int A;
	
	private Color(int r, int g, int b) {
		this(r, g, b, 1);
	}

	private Color(int r, int g, int b, int a) {
		super();
		R = r;
		G = g;
		B = b;
		A = a;
	}
	
	public static Color rgb(int r, int g, int b, int a){
		return new Color(r, g, b, a);
	}
	
	public static Color rgb(int r, int g, int b){
		return new Color(r, g, b);
	}
}
